dict1 = {'key1':'value1','key2':'value2'}
dict2 = {'key2':'new_value','key3':'value3'}
dict1.update(dict2)
print(dict1)